package com.wnx.job.common.mapstruct;


import com.wnx.job.modules.rms.dto.ProjectParam;
import com.wnx.job.modules.rms.model.RmsProject;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author wangnaixing
 */
@Mapper
public interface ProjectMapper {

    ProjectMapper INSTANCE = Mappers.getMapper(ProjectMapper.class);

    ProjectParam toDto(RmsProject sysRole);

    RmsProject toPojo(ProjectParam projectParam);
}
